package com.hunter.center.user.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hunter.center.user.dao.IUserDao;
import com.hunter.center.user.entity.User;
import com.hunter.center.user.service.IUserService;

@Service("userService")
public class UserServiceImpl implements IUserService{

    @Autowired
    private IUserDao userDao;

    public User findOne(Long id){
        return userDao.findOne(id); 
    }
}
